<?php if ($listActions = $this->configuration->getValue('list.batch_actions')): ?>
    <li class="sf_admin_batch_actions_choice">
        <select id="dropdownStyle" class="f_left" name="batch_action">
            <option value="">[?php echo __('Choose an action', array(), 'sf_admin') ?]</option>
        <?php foreach ((array) $listActions as $action => $params): ?>
        <?php echo $this->addCredentialCondition('<option value="' . $action . '">[?php echo __(\'' . $params['label'] . '\', array(), \'sf_admin\') ?]</option>', $params) ?>

        <?php endforeach; ?>
        </select>
        [?php $form = new BaseForm(); if ($form->isCSRFProtected()): ?]
        <input type="hidden" name="[?php echo $form->getCSRFFieldName() ?]" value="[?php echo $form->getCSRFToken() ?]" />
        [?php endif; ?]
        <input type="submit" class="graybutton f_left" value="[?php echo __('go', array(), 'sf_admin') ?]" />
    </li>
<?php endif; ?>
<div class="clearfix"></div>
